package com.jindy.module.repairMachine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 报修机器管理对象 t_repair_machine
 * 
 * @author jindy
 * @date 2023-04-25
 */
public class RepairMachine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 维修记录表id */
    @Excel(name = "维修记录表id")
    private Long repairRecordId;

    /** 机器序列号 */
    @Excel(name = "机器序列号")
    private String machineSerialNumber;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productNo;

    /** 机器id */
    @Excel(name = "机器id")
    private String machineId;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 机器编号 */
    @Excel(name = "机器编号")
    private String machineNo;

    /** 0 正常 1不可用 2使用中 */
    @Excel(name = "0 正常 1不可用 2使用中")
    private String status;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long warehouseId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 二维码 */
    @Excel(name = "二维码")
    private String qrImage;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRepairRecordId(Long repairRecordId) 
    {
        this.repairRecordId = repairRecordId;
    }

    public Long getRepairRecordId() 
    {
        return repairRecordId;
    }
    public void setMachineSerialNumber(String machineSerialNumber) 
    {
        this.machineSerialNumber = machineSerialNumber;
    }

    public String getMachineSerialNumber() 
    {
        return machineSerialNumber;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductNo(String productNo) 
    {
        this.productNo = productNo;
    }

    public String getProductNo() 
    {
        return productNo;
    }
    public void setMachineId(String machineId) 
    {
        this.machineId = machineId;
    }

    public String getMachineId() 
    {
        return machineId;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setMachineNo(String machineNo) 
    {
        this.machineNo = machineNo;
    }

    public String getMachineNo() 
    {
        return machineNo;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setQrImage(String qrImage) 
    {
        this.qrImage = qrImage;
    }

    public String getQrImage() 
    {
        return qrImage;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repairRecordId", getRepairRecordId())
            .append("machineSerialNumber", getMachineSerialNumber())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productNo", getProductNo())
            .append("machineId", getMachineId())
            .append("model", getModel())
            .append("machineNo", getMachineNo())
            .append("status", getStatus())
            .append("warehouseId", getWarehouseId())
            .append("warehouseName", getWarehouseName())
            .append("image", getImage())
            .append("qrImage", getQrImage())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
